/*
 * @Author: chenbolin@msn.cn
 * @Date: 2023-03-20 17:14:52
 * @LastEditors: chenbolin@msn.cn
 * @LastEditTime: 2023-10-24 19:04:36
 * @FilePath: \Remote\src\App\MotionCtrl.h
 * @Description: 
 * 
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. 
 */
#ifndef MOTION_CTRL_H_
#define MOTION_CTRL_H_

#include "Sys.h"

uint16_t MotionCtrlGetTargetCurrent(SysValveChannel_t ch, SysJoystickDirect_t dir);
uint16_t MotionCtrlGetLastActualValue(SysValveChannel_t ch, SysJoystickDirect_t dir);
uint16_t MTRealCurrent(SysValveChannel_t ch, SysJoystickDirect_t dir);
uint16_t MCTargetCurrent(SysValveChannel_t ch, SysJoystickDirect_t dir);
void MotionCtrlReset(void);
void MotionCtrlInitialize(void);
#endif

